package com.account.enums;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;

public enum BusinessTypeEnums {
    USED("UESD", Arrays.asList(AccountTypeEnums.values())),RENT("RENT",new ArrayList<>());

    private String businessType;

    private List<AccountTypeEnums> accountTypeEnums;

    BusinessTypeEnums(String businessType, List<AccountTypeEnums> accountTypeEnums) {
        this.businessType = businessType;
        this.accountTypeEnums = accountTypeEnums;
    }

    public String getBusinessType() {
        return businessType;
    }

    public void setBusinessType(String businessType) {
        this.businessType = businessType;
    }

    public List<AccountTypeEnums> getAccountTypeEnums() {
        return accountTypeEnums;
    }

    public void setAccountTypeEnums(List<AccountTypeEnums> accountTypeEnums) {
        this.accountTypeEnums = accountTypeEnums;
    }
}
